﻿@model Project.Models.CambiarDefaultPassword

@{
    ViewBag.Title = "IngresarPassword";
    Layout = "~/Views/Shared/_LayoutSingIn1.cshtml";
}
 

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Cambie su Password por Seguridad</legend>

        <p>Se le ha enviado un password temporal a su email.. (Verique el mensaje en Spam or Junk)</p>
        <p>Nota: El email enviado puede tardar varios minutos.. </p>
        

        <div class="editor-label">
  
        <div class="editor-label">
            @Html.LabelFor(model => model.email, "Su Email")
        </div>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.email)
               
            @Html.ValidationMessageFor(model => model.email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.defaultPass, "Password Enviado al email")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.defaultPass)
            @Html.ValidationMessageFor(model => model.defaultPass)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.password, "Nuevo Password")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.password)
            @Html.ValidationMessageFor(model => model.password)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.repassword,"Valide Nuevamente")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.repassword)
            @Html.ValidationMessageFor(model => model.repassword)
        </div>

        <p>
            <input type="submit" value="Guardar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
